package it.polimi.it.TravelDream.entities;

import java.io.Serializable;

import javax.persistence.*;


/**
 * The persistent class for the EXCURSION database table.
 * 
 */

@Entity
@Table(name="excursion")
@NamedQueries({
	@NamedQuery(name=Excursion.FIND_ALL,
				query="SELECT e FROM Excursion e"),
	}
	)

public class Excursion implements Serializable {
	private static final long serialVersionUID = 1L;
	public static final String FIND_ALL = "Excursion.findAll";
	
	@Id
	private String idbasicproduct;

	private String excursiontype;

	private String idbuyer;

	private String idpackage;

	private String locality;

	private int price;

	private String province;

	public Excursion() {
	}

	public String getIdbasicproduct() {
		return this.idbasicproduct;
	}

	public void setIdbasicproduct(String idbasicproduct) {
		this.idbasicproduct = idbasicproduct;
	}

	public String getExcursiontype() {
		return this.excursiontype;
	}

	public void setExcursiontype(String excursiontype) {
		this.excursiontype = excursiontype;
	}

	public String getIdbuyer() {
		return this.idbuyer;
	}

	public void setIdbuyer(String idbuyer) {
		this.idbuyer = idbuyer;
	}

	public String getIdpackage() {
		return this.idpackage;
	}

	public void setIdpackage(String idpackage) {
		this.idpackage = idpackage;
	}

	public String getLocality() {
		return this.locality;
	}

	public void setLocality(String locality) {
		this.locality = locality;
	}

	public int getPrice() {
		return this.price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

}